import { request } from "@umijs/max";

/** 片头片尾列表 */
export async function getInroOutroFiles(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<ProcessingData.faces[]>>(`/intro_outro_files`, {
    method: 'POST',
    data:options,
  });
}

/** 获取系统设置 get */
export async function getSettingInfo() {
  return request<BaseResponseBean.responsePage<SystemSettings.settingInfo>>(`/settings`, {
    method: 'GET',
  });
}

/** 保存系统设置 */
export async function saveSystemInfo(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<ProcessingData.faces[]>>(`/settings`, {
    method: 'PUT',
    data:options,
  });
}
